package actions;

import gui.GUIWindow;
import gui.SettingsDialog;

import java.awt.event.ActionEvent;

@SuppressWarnings("serial")
public class SettingsAction extends SysTrayAbstractAction {
	
	public SettingsAction(GUIWindow owner) {
		setActionOwner(owner);
		
//		putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F7, 0));
//		putValue(SMALL_ICON, ImageCreator.createImageIcon(AboutAction.class, "images/settings.png"));
		putValue(NAME, "Settings");
		putValue(SHORT_DESCRIPTION, "Settings");
		
		setActionItem();
	}
	
	
	public void actionPerformed(ActionEvent e) {
		SettingsDialog optionsDialog = new SettingsDialog(getActionOwner());
		optionsDialog.setVisible(true);
	}
	
	
}
